package com.shhm.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shhm.common.entity.admin.UniversityEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface UniversityMapper extends BaseMapper<UniversityEntity> {

    // 插入高校信息
    int insert(UniversityEntity entity);

    // 根据ID查询高校信息
    UniversityEntity selectById(Long universityId);

    // 更新高校信息
    int updateById(UniversityEntity entity);

    // 搜索高校信息
    List<UniversityEntity> search(UniversityEntity dto);
}
